<%@page import="connect.Login"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<jsp:useBean id="bean" class="connect.Login" scope="page"></jsp:useBean>
<!-- 폼 태그에 있었던 모든 입력항목이 클래스 Login에 전달됨. -->
<jsp:setProperty property="*" name="bean"/>
<% 
//아이디 정보 가져오는 것(로그인 확인하는 것)
String sessionID=(String)session.getAttribute("mid");
%>
<%
bean.setMid(sessionID);
if(bean.InforModify()){
	%><script>location.href='index.jsp?inc_contents=regiReviceMy_success.jsp'</script><%
}else{
	%><script>alert("실패");</script><%
}

%>
</body>
</html>